package com.mt.api.modules.domain;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import java.util.Date;
import java.io.Serializable;

/**
 * @Author: plover
 * @Date: 2022-04-30
 * @Description:
 */
@TableName("es_stock_taking")
@Data
public class StockTaking implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    /**
     * 盘点单号
     */
    private String stockTakingNo;
    /**
     * 描述
     */
    private String remark;
    /**
     * 状态 1-正常 9-撤销
     */
    private Integer status;
    /**
     * 是否删除 0-否 1-是
     */
    private Integer deleted;

    @TableField(fill = FieldFill.INSERT)
    private Integer createId;

    @TableField(fill = FieldFill.INSERT)
    private String creator;

    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Integer updateId;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    private String updater;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;

}